home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / text0100.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.2 KB  |  49 lines

  1. At 09:52 AM 4/13/97 +1200, Laurie Curwood wrote:
  2. >Is there any way to get CLI arguments into AMOS???
  3. >
  4. >E.G. At a CLI, I type
  5. >
  6. >Run CoolProg RAM:Test
  7. >
  8. >Is there any way I can get "RAM:Test" into AMOS?
  9. >
  10. >I need to do it for both AMOSPro and AMOS Classic.
  11. >
  12.  
  13. You can use the COMMAND LINE$ command in AMOSPro, and am not too sure if
  14. classic AMOs has it. When you compile and run, with this in the first line
  15.  
  16. A$=Command Line$
  17. ... and your prog
  18.  
  19.  
  20. If you compiled and did:
  21.  
  22. Run Program Ram:Test
  23.  
  24. A$ would conatin the string Ram:Test
  25.  
  26.  
  27. You can also do anything after the command, and it will appear in A$.
  28.  
  29. Hope this helps
  30.  
  31. Mush
  32.  
  33.  
  34.   --------******( Extreme AMOS )******--------
  35.  
  36. The best AMOS homepages around, full of downloads, and my AMOS disk
  37. magazine. Order games and utilities  directly from the library, for FREE.
  38.  
  39.           See my homepages at http://www.mushy-pd.demon.co.uk or
  40. http://members.tripod.com/~mushypd for more information.
  41.  
  42.       Email: mpd@mushy-pd.demon.co.uk      mpd@computer4u.com
  43.                                   mushy_pd@hotmail.com
  44.  
  45.                    Look for Mush now on IPhone in AMOS!!
  46.                               ICQ No. - 778243 (talk to me!!)
  47.  
  48.  
  49.